extends Label

# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	self.text=""
	var twn:=create_tween()
	twn.tween_property(self,"position",Vector2(10,40),2)
	twn.tween_property(self,"position",Vector2(10,10),2)
	twn.set_loops()
	Global.display_tip.connect(func(tip:String):
		self.text=tip
		)


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	pass


func _input(event: InputEvent) -> void:
	if event is InputEventMouseButton:
		if event.pressed and get_rect().has_point(event.position):
			self.text=""
	pass # Replace with function body.
